<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp"%>
<%@ include file="/WEB-INF/jsp/includes/setup/mobile/setup_init.jsp"%>
    <form:form method="post">
        <c:if test="${status != null}">
            <c:if test="${status == 'install'}">
                <div class="setup-description">
                    <%@ include file="/WEB-INF/jsp/includes/setup/setup_step1.jsp"%>
                </div>
                <div class="default-rigth-aling">
                    <button type="submit" name="_eventId_install-submit"
                                value="Install" class="btn-default" >
                                <spring:message code="setup.step1.button"></spring:message>
                                </button>
                </div>
            </c:if>
            <c:if test="${state == 'upgrade'}">
                <div class="setup-description">
                    <p>
                        RELEASE NOTES for:
                        <%=EnMePlaceHolderConfigurer
                                .getProperty("app.version")%></p>
                    <div class="release-notes"></div>
                </div>
                <div class="default-rigth-aling">
                    <button class="btn-default" type="submit" name="_eventId_upgrade-submit" value="Upgrade" >
                        <spring:message code="setup.step1.update.button"></spring:message>
                    </button>
                </div>
            </c:if>
        </c:if>
        <c:if test="${status == null}">
            <h3 class="error">
            <spring:message code="setup.upgrade.fail"></spring:message>.</h3>
        </c:if>
    </form:form>
<%@ include file="/WEB-INF/jsp/includes/setup/setup_finish.jsp"%>